@import "../../assets/css/theme.scss";

.user-center {
  margin-left: 15px;
  position: relative;

  .header {
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color: #fff;
    font-size: 16px;
    padding-left: 20px;
    box-sizing: border-box;

    .message-switch {
      float: right;
      font-size: 14px;
      margin-right: 15px;
    }
  }

  .page-left {
    width: 300px;
    display: inline-block;
    top: 15px;
    position: relative;
    float: left;

    .user-info{
      min-height: 500px;
      background-color: #fff;
      padding-bottom: 10px;

      .pic {
        width: 150px;
        height: 150px;
        margin: 25px 75px;
        margin-bottom: 0;

        &>img {
          display: block;
          width: 100%;
          height: auto;
          border-radius: 50%;
          box-shadow: 5px 5px 5px #888;
          // clip-path: circle(50% at 50% 50%);
        }
      }

      .upload {
        text-align: center;
      }

      .el-form-item {
        margin-bottom: 10px;
        padding-right: 10px;

        .el-form-item__error {
          padding: 0;
        }
      }
      label, input {
        font-size: 12px;
      }
      input {
        height: 24px;
      }

      .btn-list {
        margin-top: 20px;
        text-align: center;
      }

      .stm-form {
        .foot-button {
          padding-right: 0;
          .el-form-item__content {
            display: flex;
            justify-content: center;
          }
          &.foot-border {
            border: none;
            padding-top: 10px;
          }
        }
      }
    }
  }

  .page-right {
    display: inline-block;
    width: calc(100% - 315px);
    top: 15px;
    left: 15px;
    position: relative;

    .bank-info {
      background-color: #fff;
      overflow: hidden;

      .stm-table {
        margin: 10px 15px;

        .temp-default {
          span {
            background-color: $theme;
            color: #fff;
            font-size: 12px;
            padding: 0 7px;
            border-radius: 12px;
          }
        }
      }
    }

    .dept-info {
      background-color: #fff;
      margin-top: 15px;
      overflow: hidden;

      .stm-table {
        margin: 10px 15px;

        .temp-default, .temp-now {
          span {
            background-color: $theme;
            color: #fff;
            font-size: 12px;
            padding: 0 7px;
            border-radius: 12px;
          }
        }
      }

      .leader {
        margin-left: 15px;
        margin-bottom: 5px;
      }
    }
  }
}